package vn.smartoffice.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import vn.smartoffice.entity.User;

@Repository
public interface UserMapper extends IMapper<User> {

	User findByEmail(String email);

	void addRole(@Param("userId") long userId, @Param("roleId") long roleId);

}
